package pjwstk.jps.ast.unary;

import pjwstk.jps.ast.Expression;
import pjwstk.jps.ast.IExpression;
import pjwstk.jps.visitor.ASTVisitor;

/**
 * @author s9111_s10304
 *
 */
public class SumExpression extends UnaryExpression implements ISumExpression
{
    public SumExpression(Expression aExpression) {
        super(aExpression);
    }

    @Override
    public void accept(ASTVisitor visitor) {
        visitor.visitSumExpression(this);
    }

    @Override
    public IExpression getInnerExpression() {
        return super.getInnerExpression();
    }
}